﻿<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

<head th:replace="~{/public::public-head}">
</head>
<link rel="stylesheet" type="text/css" th:href="@{/css/vendor/bootstrap-datetimepicker.min.css}">
<link rel="stylesheet" type="text/css" th:href="@{/css/jquery-labelauty.css}">
<style type="text/css">
    .create-photo-left {
        /*background-image: url('E:/U盘/照片/cy - 副本.jpg');*/
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: 170px;
    }
    .create-photo-left2 {
        background-repeat: no-repeat;
        background-size: 100% 100%;
        text-align: center;
        background-color: #99999969;
        width: 350px;
        height: 170px;
    }
    .error {
        color: red;
        text-align: center;
    }
	.systemInfo input{
		background-color: #e7e7e7;
	}
</style>

<body class="template-color-1">

<div id="main-wrapper">

	<div th:insert="~{/public::navigate}"></div>
	<div style="height: 100px; border-bottom: 1px solid #e2e4ea"></div>

	<!-- Dashboard Content Section Start -->
	<div class="dashboard-content-section section bg_color--5">
		<div class="container-fluid p-0">
			<div class="row no-gutters">
				<!-- 侧边栏 -->
				<div th:replace="~{/public::sidebar(active='companyInfo')}"></div>
				<!-- 主要部分 -->
				<div class="col-xl-10 col-lg-9">
					<div id="forbidden" hidden> 当前账号已被限制使用 </div>

					<div class="dashboard-main-inner">
						<div class="row">
							<div class="col-12">
								<div class="page-breadcrumb-content mb-40">
									<h1>企业基本信息</h1>
								</div>
								<div sec:authentication="authorities" hidden id="authorities"></div>
								<div sec:authorize="isAuthenticated()" sec:authentication="principal.userId" id="companyId" hidden="hidden"></div>
								<span  sec:authorize="isAuthenticated()" sec:authentication="principal.accountStatus"
									   type="text" id="accountStatus" hidden></span>
							</div>
						</div>
						<div class="dashboard-overview">
							<div class="row">
								<div class="col-xl-12 col-12">
									<div class="profile-applications mb-50">
										<div class="profile-applications-main-block">
											<div class="profile-applications-form">
											<!--	Logo	-->
												<form th:action="@{/companySer/company/image}" id="uploadLogo"
												      enctype="multipart/form-data" method="post"
												      style="width: 40%;float: left">
													<label>企业 Logo </label>
													<div class="row mb-30">
														<div class="create-photo-left create-photo-left1"
														     style="margin-right: 1%;">
															<label class="btn create-photo-left create-photo-left1 form-group"
															       id="photo-logo">
																<input type="file" id="Logo" name="photo" class="photo"
																       style="left:-9999px;position:absolute;">
																<p class="fa fa-camera" style="margin-top: 60px"><br>选择Logo
																</p>
															</label>
															<input type="text" name="type" value="companyLogo" hidden>
															<input class="userId" type="text" name="userId" hidden>
														</div>
													</div>
												</form>
											<!--	photo	-->
												<form th:action="@{/companySer/company/image}" id="photo"
												      enctype="multipart/form-data" method="post"
												      style="width: 60%; float: right">
													<label>企业照片 </label>
													<div class="row mb-30">
														<div class="create-photo-left create-photo-left2"
														     style="margin-right: 1%;">
															<label class="btn create-photo-left create-photo-left2 form-group"
															       id="photo-area">
																<input type="file" id="companyPhoto" name="photo"
																       class="photo"
																       style="left:-9999px;position:absolute;">
																<p class="fa fa-camera"
																   style="margin-top: 60px;width: 350px;"><br>选择照片</p>
															</label>
															<input type="text" name="type" value="companyPhoto" hidden>
															<input class="userId" type="text" name="userId" value="" hidden>
														</div>
													</div>
												</form>
											<!--	info	-->
												<form>
													<div class="row mb-30">
														<div class="col-lg-10">
															<div class="row">
																<!-- 企业名称 -->
																<div class="col-xl-12">
																	<div class="single-input mb-25">
																		<label>企业名称 </label>
																		<input class="account canNotUpdate" type="text"
																		       id="companyName" placeholder="请输入企业名称"
																		       value="">
																		<div class="error" id="error_companyName"></div>
																	</div>
																</div>

	<!--	--------------------------------------------------------------------------	-->

																<!-- 会员等级 -->
																<div class="col-xl-3 systemInfo">
																	<div class="single-input mb-25">
																		<label>会员等级 </label>
																		<input type="text" id="memberLevel"
																		       value="" readonly>
																	</div>
																</div>
																<!-- 会员到期时间 -->
																<div class="col-xl-3 systemInfo">
																	<div class="single-input mb-25">
																		<label>会员到期时间 </label>
																		<input type="text" id="memberEndTime"
																		       value="" readonly>
																	</div>
																</div>
																<!-- 在系统中招聘的岗位数 -->
																<div class="col-xl-3 systemInfo">
																	<div class="single-input mb-25">
																		<label>在系统中招聘的岗位数 </label>
																		<input type="text" id="postNumber"
																		       value="" readonly>
																	</div>
																</div>
																<!-- 在系统中的 HR 人数 -->
																<div class="col-xl-3 systemInfo">
																	<div class="single-input mb-25">
																		<label>在系统中的 HR 人数 </label>
																		<input type="text" id="hrNumber"
																		       value="" readonly>
																	</div>
																</div>

	<!--	--------------------------------------------------------------------------	-->

																<!-- 融资情况 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>融资情况 </label>
																		<div class="account sidebar-category"
																		     id="financingSituation">
																			<select class="nice-select wide mySelect"
																			        style="display: none;">
																				<option value="">请选择 融资情况</option>
																			</select>
																		</div>
																		<div class="error" id="error_financingSituation"></div>
																	</div>
																</div>
																<!-- 公司规模 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>公司规模 </label>
																		<div class="account sidebar-category"
																		     id="companySize">
																			<select class="nice-select wide mySelect"
																			        style="display: none;">
																				<option value="">请选择 公司规模</option>
																			</select>
																		</div>
																		<div class="error" id="error_companySize"></div>
																	</div>
																</div>
																<!-- 企业类型 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>企业类型 </label>
																		<div class="account sidebar-category"
																		     id="enterprisesType">
																			<select class="nice-select wide mySelect"
																			        style="display: none;">
																				<option value="">请选择 企业类型</option>
																			</select>
																		</div>
																		<div class="error" id="error_enterprisesType"></div>
																	</div>
																</div>
																<!-- 经营状态 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>经营状态 </label>
																		<div class="account sidebar-category"
																		     id="operationStatus">
																			<select class="nice-select wide mySelect"
																			        style="display: none;">
																				<option value="">请选择 经营状态</option>
																			</select>
																		</div>
																		<div class="error" id="error_operationStatus"></div>
																	</div>
																</div>

																<!-- 法人代表 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>法人代表 </label>
																		<input type="text" id="legalRepresentative"
																		       placeholder="请输入法人代表" value="">
																		<div class="error"
																		     id="error_legalRepresentative"></div>
																	</div>
																</div>
																<!-- 所属行业 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>所属行业 </label>
																		<input type="text" id="industry"
																		       placeholder="请输入所属行业" value="">
																		<div class="error" id="error_industry"></div>
																	</div>
																</div>
																<!-- 注册资本 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>注册资本 </label>
																		<input type="text" id="registeredCapital"
																		       placeholder="请输入注册资本" value="">
																		<div class="error"
																		     id="error_registeredCapital"></div>
																	</div>
																</div>
																<!-- 经营范围 -->
																<div class="col-xl-3">
																	<div class="single-input mb-25">
																		<label>经营范围 </label>
																		<input type="text" id="businessNature"
																		       placeholder="请输入经营范围" value="">
																		<div class="error"
																		     id="error_businessNature"></div>
																	</div>
																</div>

																<!-- 成立时间 -->
																<div class="col-xl-6">
																	<div class="single-input mb-25">
																		<label>成立时间 </label>
																		<div>
																			<input id="establishmentDate" type="text"
																			       class="study-date form-control canNotUpdate"
																			       style="float: left; background: white;"
																			       placeholder="请填写成立时间" readonly>
																			<div class="error"
																			     id="error_establishmentDate"></div>
																		</div>
																	</div>
																</div>
																<!-- 统一信用代码 -->
																<div class="col-xl-6">
																	<div class="single-input mb-25">
																		<label>统一信用代码 </label>
																		<input type="text" id="creditCode"
																			   class="canNotUpdate"
																		       placeholder="请输入统一信用代码" value="">
																		<div class="error" id="error_creditCode"></div>
																	</div>
																</div>

																<!-- 注册地址 -->
																<div class="col-xl-6">
																	<div class="single-input mb-25">
																		<label>注册地址 </label>
																		<input type="text" id="registeredAddress"
																			   class="canNotUpdate"
																		       placeholder="请输入注册地址" value="">
																		<div class="error"
																		     id="error_registeredAddress"></div>
																	</div>
																</div>
																<!-- 公司地址 -->
																<div class="col-xl-6">
																	<div class="single-input mb-25">
																		<label>公司地址 </label>
																		<input type="text" id="companyAddress"
																		       placeholder="请输入公司地址" value="">
																		<div class="error"
																		     id="error_companyAddress"></div>
																	</div>
																</div>

																<!-- 公司简介 -->
																<div class="col-xl-12">
																	<div class="single-input mb-25">
																		<label>公司简介 </label>
																		<textarea id="introduction" rows="2"
																		       placeholder="请输入公司简介" value="">
																		</textarea>
																		<div class="error"
																		     id="error_introduction"></div>
																	</div>
																</div>

															</div>
														</div>
													</div>
													<div class="row">
														<div class="col-12" style="text-align: center;">
															<a class="ht-btn theme-btn theme-btn-two" id="submit">
																提交
															</a>
														</div>
													</div>
												</form>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- Dashboard Content Section End -->

	<div th:insert="~{/public::footer}"></div>
</div>

<div th:replace="~{/public::public-js}"></div>
<script th:src="@{/js/vendor/bootstrap-datetimepicker.min.js}"></script>
<script th:src="@{/js/vendor/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
<script th:src="@{/js/jquery-labelauty.js}"></script>

<script th:src="@{/js/myjob/company/companyInfo.js}"></script>

</body>

</html>
